<include file="Public/header" />
<title>管理员列表</title>
</head>
<body>
<div class="pd-20">	
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th scope="col" colspan="15">订单列表:<{$orderlist}></th>
			</tr>
			<tr class="text-c">
				<th>序号</th>
				<th width="">商品编码</th>
				<th width="">商品名称</th>
				<th width="">数量</th>
				<th width="">库位</th>
				<th width="">库位层级</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr class="text-c">
				<td><{$i}></td>
				<td><{$vo.goods_no}></td>
				<td><{$vo.goods_name}></td>
				<td><{$vo.goods_count}></td>
				<td><{$vo.storage_code}></td>
				<td><{$vo.storage_level}></td>
			</tr>
			</volist>			
		</tbody>
	</table>
	<button type="button" id="confirm_make" class="btn btn-success" style="margin-top:20px;"><i class="icon-plus"></i> 确定生成</button>
	<div class="page mt" style="text-align:right"><{$page}></div>
</div>
<script type="text/javascript">
    $(function(){
        $("#confirm_make").click(function(){
			$.ajax({
                type: 'POST',
                data:{orderlist:"<{$orderlist}>"},
                url: "<{:U('makepicklist')}>",
                success:function(data){
					if(!data.status){
						layer.msg(data.message);
					}else{
						
						layer.msg(data.message,function(){
							window.location.href="__URL__/picklistView/id/"+data.picklist_id;
						})
					}
                }
            })
        });
    })
</script>
<include file="Public/footer" />
<include file="Public/footer_js" />
</body>
</html>